package com.xs.business.user.service;

import com.xs.business.goods.entity.Goods;
import com.xs.business.user.entity.User;
import com.xs.mvc.common.ResultWrapper;
import com.xs.mvc.service.BaseService;

/**
 * @Title:
 *         <P>
 *         UserService.java
 *         </P>
 * @Package
 *          <P>
 *          com.xs.business.user.service
 *          </P>
 * @Description:
 *               <P>
 *               UserService
 *               </P>
 * @author renweiping
 * @date 2019年1月15日 下午3:58:49
 * @version 1.0
 */

public interface UserService extends BaseService<User, Integer> {
	User getByUserId(int id);

	int deleteByUserId(int id);

	void saveUser(User user);
	
	User updateUser(User user);

	int deleteAllUser();
	
	ResultWrapper buyGoods(User user);
	
	ResultWrapper buyGoodsZk(User user);
	
	ResultWrapper buyGoodsZk2(User user);
	
	

}
